package com.todo.event.activity.iface.backend.common.test;

import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @author azhebuxing
 * @date 2025/1/14 21:47
 * @description
 */
@Data
@Schema(title = "活动执行测试请求", description = "活动执行测试请求")
public class EventActivityTestReq {

    @Schema(title = "决策Id", description = "决策Id")
    private Long decisionId;

    @Schema(title = "决策执行对应的数据", description = "决策执行对应的数据")
    private JSONObject decisionPayload;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(title = "操作时间", description = "操作时间")
    private Date operateTime;

    @Schema(title = "用户id", description = "用户id")
    private Long userId;

    @Schema(title = "业务唯一值", description = "业务唯一值")
    private String uk;
}
